package com.example.u10.prac21;

interface InterfaceA {
    class EmbeddedClassA{
//        @Override
//        public String getString() {
//            System.out.println("Override print");
//            return "EmbeddedClassA";
//        }

        static void printInterface(InterfaceA a) {
            String result = a.getString();
            System.out.println("static method:"+result);
        }
    }

    class Imple implements InterfaceA{
        @Override
        public String getString() {
            return "Impl";
        }
    }

    String getString();
}
